package 网络编程项目.login.entity;

/**
 * user
 */
public class User {

  private Integer id;
  private String userid;
  private String username;
  private String password;
  private String image;
  private String phone;
  private String email;
  private boolean state;

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getUserid() {
    return userid;
  }

  public void setUserid(String userid) {
    this.userid = userid;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getImage() {
    return image;
  }

  public void setImage(String image) {
    this.image = image;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public boolean getState() {
    return state;
  }

  public void setState(boolean state) {
    this.state = state;
  }

  @Override
  public String toString() {
    return "User{" +
        "id=" + id +
        ", userid='" + userid + '\'' +
        ", username='" + username + '\'' +
        ", password='" + password + '\'' +
        ", image='" + image + '\'' +
        ", phone='" + phone + '\'' +
        ", email='" + email + '\'' +
        ", state=" + state +
        '}';
  }
}
